package com.lyc.ssm.dao;

import com.lyc.ssm.domain.Student;

import java.util.List;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    int insertStudent(Student student);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer id);

    Student selectOneById(Integer id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    List<Student> selectAll();

    Student selectByPrimaryKeyWithTeacher(Integer id);
}